<?php
include_once "./predis/autoload.php";
$conf=array(
	'host'=>'localhost',
	
);
$redis=new Predis\Client($conf);
$redis->select(1);

$userName=[
	'user:1:name'=>'Tom',
	'user:2:name'=>'Jack'
];
$redis->mset($userName);

$users=array_keys($userName);
print_r($redis->mget($users));

?>